package com.jiyinit.web.core.business.dto;

import com.jiyinit.web.core.common.dto.PageRequest;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * 请求参数
 * @author zhaolaiwei
 * @version 1.0
 * @date 2017/4/12 16:19
 * @since 1.0
 */
public class UserRequest extends PageRequest {

    /**
     * ID
     */
    private Integer userId;

    /**
     * 登录名
     */
    @NotBlank(message = "登录名不能为空")
    private String loginName;

    /**
     * 机购ID
     */
    @NotNull(message = "部门不能为空")
    private Integer orgId;

    /**
     * 名称
     */
    @NotBlank(message = "用户姓名不能为空")
    private String userName;

    /**
     * 密码
     */
    private String password;

    /**
     * 性别
     */
    private String userSex;

    /**
     * 身份证号
     */
    private String userCertificateNo;

    private String oldPassword;

    private String confirmPassword;

private Integer inOrder;
    /**
     * 邮箱
     */
    private String userEmail;

    /**
     * 手机
     */
    private String userMobileNo;

    /**
     * 固话
     */
    private String userPhoneNo;

    /**
     * 地址
     */
    private String userAddress;

    /**
     * 邮政编码
     */
    private String userPostCode;

    /**
     * qq号码
     */
    private String userQq;

    /**
     * 其它社交公具号
     */
    private String userOtherHm;

    /**
     * 部门名称-查询条件
     */
    private String orgName;

    /**
     *  角色ID
     */
    private Integer roleId;
    
    private String userNumber;

    private Integer lastModifyId;

    private String param;

    private Integer type;  //为空或者为1:联系人  2：好友

    private String salaryPassword;

    private String oldSalaryPassword;

    private String confirmSalaryPassword;

    private String level;

    private Integer toUserId;

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getConfirmSalaryPassword() {
        return confirmSalaryPassword;
    }

    public void setConfirmSalaryPassword(String confirmSalaryPassword) {
        this.confirmSalaryPassword = confirmSalaryPassword;
    }

    public String getOldSalaryPassword() {
        return oldSalaryPassword;
    }

    public void setOldSalaryPassword(String oldSalaryPassword) {
        this.oldSalaryPassword = oldSalaryPassword;
    }

    public String getSalaryPassword() {
        return salaryPassword;
    }

    public void setSalaryPassword(String salaryPassword) {
        this.salaryPassword = salaryPassword;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getInOrder() {
        return inOrder;
    }

    public void setInOrder(Integer inOrder) {
        this.inOrder = inOrder;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public Integer getLastModifyId() {
		return lastModifyId;
	}

	public void setLastModifyId(Integer lastModifyId) {
		this.lastModifyId = lastModifyId;
	}

	public String getUserNumber() {
		return userNumber;
	}

	public void setUserNumber(String userNumber) {
		this.userNumber = userNumber;
	}

	public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserCertificateNo() {
        return userCertificateNo;
    }

    public void setUserCertificateNo(String userCertificateNo) {
        this.userCertificateNo = userCertificateNo;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserMobileNo() {
        return userMobileNo;
    }

    public void setUserMobileNo(String userMobileNo) {
        this.userMobileNo = userMobileNo;
    }

    public String getUserPhoneNo() {
        return userPhoneNo;
    }

    public void setUserPhoneNo(String userPhoneNo) {
        this.userPhoneNo = userPhoneNo;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public String getUserPostCode() {
        return userPostCode;
    }

    public void setUserPostCode(String userPostCode) {
        this.userPostCode = userPostCode;
    }

    public String getUserQq() {
        return userQq;
    }

    public void setUserQq(String userQq) {
        this.userQq = userQq;
    }

    public String getUserOtherHm() {
        return userOtherHm;
    }

    public void setUserOtherHm(String userOtherHm) {
        this.userOtherHm = userOtherHm;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Integer getToUserId() {
        return toUserId;
    }

    public void setToUserId(Integer toUserId) {
        this.toUserId = toUserId;
    }
}
